/**
 * 登录与公共的请求
 */
import Urls from '../ApiUrls';
import ApiBase from './ApiBase';

class ApiMain {
  login(parms) {
    return ApiBase.send(Urls.URL_LOGIN,parms);
  }
  loginUnVerify(parms) {
    return ApiBase.send(Urls.URL_LOGIN_UN_VALEIRY,parms);
  }
  getDictionaries() {
    return ApiBase.send(Urls.URL_GET_DIST,{});
  }
  getAllClassifications() {
    return ApiBase.send(Urls.URL_GET_CLASSIFICATION,{});
  }
  logOut(parms) {
    return ApiBase.send(Urls.URL_LOG_OUT,parms);
  }
  index(){
    return ApiBase.send(Urls.URL_INDEX, {});
  }
}
export  default  ApiMain
